class TestClass {
    {
        list.add(new Runnable(){<caret>)
    }
}